﻿using Ewell.BizComponent.Service.Model.InterProxy;
using Ewell.BizComponent.Service.Model.Request;
using Ewell.BizComponent.Service.Model.Response;
using Ewell.BizComponent.UI.Core.VievModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.BizComponent.UI.SearchItemCom.ViewModel
{
    /// <summary>
    /// 选择项主类
    /// </summary>
    public class SearchItemComVm:ViewModelBase
    {
        /// <summary>
        /// 选择项
        /// </summary>
        private List<DataSelectItemVm> _dataSelectItemList;
        public List<DataSelectItemVm> dataSelectItemList
        {
            get { return _dataSelectItemList; }
            set
            {
                if (value != _dataSelectItemList)
                {
                    _dataSelectItemList = value;
                    OnPropertyChanged(nameof(dataSelectItemList));
                }
            }
        }
        /// <summary>
        /// 已选择的医保费别
        /// </summary>
        private PatientTypeVm _selectedPatientType;
        public PatientTypeVm selectedPatientType
        {
            get
            {
                return _selectedPatientType;
            }
            set
            {
                if (_selectedPatientType != value)
                {
                    _selectedPatientType = value;
                    OnPropertyChanged(nameof(selectedPatientType));
                }
            }
        }
        public string currentBizParams { get; set; }
        /// <summary>
        /// 读卡结果
        /// </summary>
        public ReadCardResponse readCardResponse { get; set; }
        /// <summary>
        /// 预算请求
        /// </summary>
        public OutPreSettlementRequest outPreSettlementRequest { get; set; }
    }
}
